<center>
<table width="220" border="0" cellpadding="2">
<tr>
<td align="center">

	<a href="<{$myurl}>/"><img src="<{$myurl}>/images/logo.gif" alt="" /></a>

</td>
</tr>
<tr>
<td align="left">

	<div style="margin:12px 6px;">
		<a href="<{$xoops_url}>/">SITETOP</a>
		<{foreach from=$xoops_breadcrumbs item="crumb" key=count}>
			&gt;&gt;
			<{if $crumb.url}>
				<a href="<{$crumb.url}>"><{$crumb.name}></a>
			<{else}>
				<{$crumb.name}>
			<{/if}>
		<{/foreach}>
	</div>

	<form action="<{$myurl}>/index.php?page=edit" name="postform" method="post">
		<{$smarty.const._MD_FD_EDIT_DATA}> : ID <{$data.did}>

		<{* <!---- If you use the XCAT's category, delete comment out. It is necessary to be installed XCAT. ---->
			<{if $cattree}>
				<hr />
				<{$smarty.const._MD_FD_CATEGORY}>
				<select name="cat_id">
					<option value="0"><{$smarty.const._MD_FD_NO_CATEGORY}></option>
					<{xcatsvc_catselect tree=$cattree selectedValue=$data.cat_id}>
		 		</select>
			<{/if}>
		*}>

		<{foreach item=f from=$fields key=count name=i}>
			<hr />
			<{$f.fname}><br />
			<input type="text" name="<{$mydirname}>_field<{$f.fid}>" id="<{$mydirname}>_field<{$f.fid}>" size="30" maxlength="255" value="<{$data.data[$f.fid]}>" />
		<{/foreach}>

		<hr />
		<{$smarty.const._MD_FD_SUBMITTER}> : <{$data.uname}>

		<hr />
		<{$smarty.const._DATE}> : <{$data.regidate|formatTimestamp:"m"}>

		<hr />
		<input type="submit" name="edit" class="button" value="<{$smarty.const._SUBMIT}>" />
		<{if $isadmin || ($delperm && $data.uid==$uid)}>
			<input type="submit" name="delete" value="<{$smarty.const._DELETE}>" />
			<input type="hidden" name="deldata" value="1" />
		<{/if}>

		<{$gticket}>
		<input type="hidden" name="did" value="<{$data.did}>" />
	</form>

</td>
</tr>
<tr>
<td align="center">

	<hr />
	<a href="http://flatdata.neverever.xrea.jp/">FlatData / Never Ever</a>

</td>
</tr>
</table>
</center>
